package com.qhg.saas_server.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
* 
* @TableName comployee
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comployee {

    private Integer comploId;

    private String comploName;

    private String comploAccount;

    private String comploPassword;

    private String comploImg;

    private String comploPhone;

    private String comploSex;

    private String comploBirthday;

    private String comploQQ;

    private String addressXY;

    private String comploCardNum;

    private Integer complo_departId;

    @DateTimeFormat(pattern ="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date comploTime;

    private String comploLastLogin;

    private Integer comploStatus;

    private Integer complo_roleId;

    //员工配送额
    private   Double deliveryCount;

}
